package com.example.userservice.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserTestController {

    @GetMapping("/hello")
    public String test(){
        System.err.println("到达了这里");
        return "hello world";
    }

    @GetMapping("/test")
    public String test1(){
        System.err.println("feign到达这里了");
        return "hello feign";
    }
}
